inherited frmDynamicReportSet: TfrmDynamicReportSet
  Left = 310
  Top = 150
  Caption = #25253#34920#35774#35745#22120
  ClientHeight = 423
  ClientWidth = 798
  FormStyle = fsNormal
  Visible = False
  ExplicitWidth = 814
  ExplicitHeight = 482
  PixelsPerInch = 96
  TextHeight = 12
  object sptTable: TcxSplitter [2]
    Left = 338
    Top = 0
    Width = 8
    Height = 225
    HotZoneClassName = 'TcxSimpleStyle'
    Control = pnlField
  end
  object pnlField: TPanel [3]
    Left = 0
    Top = 0
    Width = 338
    Height = 225
    Align = alLeft
    Caption = 'pnlField'
    TabOrder = 2
    object grdTable: TcxGrid
      Left = 1
      Top = 1
      Width = 336
      Height = 55
      Align = alClient
      TabOrder = 0
      object viewTable: TcxGridDBTableView
        Navigator.Buttons.CustomButtons = <>
        DataController.DataSource = dsTable
        DataController.Summary.DefaultGroupSummaryItems = <>
        DataController.Summary.FooterSummaryItems = <>
        DataController.Summary.SummaryGroups = <>
        OptionsBehavior.IncSearch = True
        OptionsData.CancelOnExit = False
        OptionsData.Deleting = False
        OptionsData.DeletingConfirmation = False
        OptionsData.Editing = False
        OptionsData.Inserting = False
        OptionsView.ColumnAutoWidth = True
        OptionsView.GroupByBox = False
        OptionsView.Indicator = True
        Styles.Background = MainDM.bslBackGroup
        Styles.ContentEven = MainDM.bsEven
        Styles.ContentOdd = MainDM.bsOdd
        Styles.Header = MainDM.bsTitle
        Styles.Selection = MainDM.bsSelect
        object viewTableColumn1: TcxGridDBColumn
          Caption = #34920#21517
          DataBinding.FieldName = 'ET_Table_Name'
          HeaderAlignmentHorz = taCenter
          Width = 80
        end
        object viewTableColumn2: TcxGridDBColumn
          Caption = #25968#25454#28304
          DataBinding.FieldName = 'ET_FormCaption'
          HeaderAlignmentHorz = taCenter
          Width = 100
        end
        object viewTableColumn3: TcxGridDBColumn
          Caption = #25968#25454#31867#22411
          DataBinding.FieldName = 'ET_FormType'
          HeaderAlignmentHorz = taCenter
          Width = 50
        end
      end
      object lvlTable: TcxGridLevel
        GridView = viewTable
      end
    end
    object grdField: TcxGrid
      Left = 1
      Top = 64
      Width = 336
      Height = 160
      Align = alBottom
      TabOrder = 1
      object viewField: TcxGridDBTableView
        Navigator.Buttons.CustomButtons = <>
        DataController.DataSource = dsField
        DataController.Summary.DefaultGroupSummaryItems = <>
        DataController.Summary.FooterSummaryItems = <>
        DataController.Summary.SummaryGroups = <>
        OptionsBehavior.IncSearch = True
        OptionsData.CancelOnExit = False
        OptionsData.Deleting = False
        OptionsData.DeletingConfirmation = False
        OptionsData.Editing = False
        OptionsData.Inserting = False
        OptionsView.ColumnAutoWidth = True
        OptionsView.GroupByBox = False
        OptionsView.Indicator = True
        Styles.Background = MainDM.bslBackGroup
        Styles.ContentEven = MainDM.bsEven
        Styles.ContentOdd = MainDM.bsOdd
        Styles.Header = MainDM.bsTitle
        Styles.Selection = MainDM.bsSelect
        object vfDt_FieldName: TcxGridDBColumn
          Caption = #23383#27573
          DataBinding.FieldName = 'DT_FieldName'
          HeaderAlignmentHorz = taCenter
          Width = 80
        end
        object vfDt_FieldCaption: TcxGridDBColumn
          Caption = #23383#27573#21517#31216
          DataBinding.FieldName = 'DT_FieldCaption'
          HeaderAlignmentHorz = taCenter
          Width = 100
        end
        object vfDt_FieldType: TcxGridDBColumn
          Caption = #25968#25454#26469#28304
          DataBinding.FieldName = 'dt_fieldtype'
          HeaderAlignmentHorz = taCenter
          Width = 60
        end
      end
      object lvlField: TcxGridLevel
        GridView = viewField
      end
    end
    object sptField: TcxSplitter
      Left = 1
      Top = 56
      Width = 8
      Height = 8
      HotZoneClassName = 'TcxXPTaskBarStyle'
      AlignSplitter = salBottom
      Control = grdField
    end
  end
  object sptBottom: TcxSplitter [4]
    Left = 0
    Top = 225
    Width = 798
    Height = 8
    HotZoneClassName = 'TcxXPTaskBarStyle'
    AlignSplitter = salBottom
    Control = Panel1
    ExplicitWidth = 8
  end
  inherited Panel1: TPanel
    Top = 233
    Width = 798
    Height = 190
    Align = alBottom
    Visible = True
    ExplicitTop = 233
    ExplicitWidth = 798
    ExplicitHeight = 190
    inherited img3: TImage
      Left = 1150
      Top = 46
      Visible = False
      ExplicitLeft = 900
      ExplicitTop = 46
    end
    inherited labFuncName: TcxLabel
      Caption = #21160#24577#25253#34920#35774#32622
      Visible = False
      ExplicitWidth = 76
    end
    inherited labFuncDesc: TcxLabel
      Visible = False
    end
    object btnExecSQL: TBitBtn
      Left = 12
      Top = 156
      Width = 85
      Height = 23
      HelpType = htKeyword
      Anchors = [akLeft, akBottom]
      Caption = #36816#34892#33050#26412
      Glyph.Data = {
        76010000424D7601000000000000760000002800000020000000100000000100
        04000000000000010000120B0000120B00001000000000000000000000000000
        800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00500000000055
        555557777777775F55550FFFFFFFFF0555557F5555555F7FFF5F0FEEEEEE0000
        05007F555555777775770FFFFFF0BFBFB00E7F5F5557FFF557770F0EEEE000FB
        FB0E7F75FF57775555770FF00F0FBFBFBF0E7F57757FFFF555770FE0B00000FB
        FB0E7F575777775555770FFF0FBFBFBFBF0E7F5575FFFFFFF5770FEEE0000000
        FB0E7F555777777755770FFFFF0B00BFB0007F55557577FFF7770FEEEEE0B000
        05557F555557577775550FFFFFFF0B0555557FF5F5F57575F55500F0F0F0F0B0
        555577F7F7F7F7F75F5550707070700B055557F7F7F7F7757FF5507070707050
        9055575757575757775505050505055505557575757575557555}
      NumGlyphs = 2
      TabOrder = 2
      OnClick = btnExecSQLClick
    end
    object btnOK: TBitBtn
      Left = 580
      Top = 156
      Width = 85
      Height = 23
      Anchors = [akRight, akBottom]
      Caption = #30830#23450'(&O)'
      Glyph.Data = {
        DE010000424DDE01000000000000760000002800000024000000120000000100
        0400000000006801000000000000000000001000000000000000000000000000
        80000080000000808000800000008000800080800000C0C0C000808080000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
        3333333333333333333333330000333333333333333333333333F33333333333
        00003333344333333333333333388F3333333333000033334224333333333333
        338338F3333333330000333422224333333333333833338F3333333300003342
        222224333333333383333338F3333333000034222A22224333333338F338F333
        8F33333300003222A3A2224333333338F3838F338F33333300003A2A333A2224
        33333338F83338F338F33333000033A33333A222433333338333338F338F3333
        0000333333333A222433333333333338F338F33300003333333333A222433333
        333333338F338F33000033333333333A222433333333333338F338F300003333
        33333333A222433333333333338F338F00003333333333333A22433333333333
        3338F38F000033333333333333A223333333333333338F830000333333333333
        333A333333333333333338330000333333333333333333333333333333333333
        0000}
      ModalResult = 1
      NumGlyphs = 2
      TabOrder = 3
      OnClick = btnOKClick
    end
    object btnCancel: TBitBtn
      Left = 680
      Top = 156
      Width = 85
      Height = 23
      Anchors = [akRight, akBottom]
      Caption = #21462#28040'(&C)'
      Kind = bkCancel
      NumGlyphs = 2
      TabOrder = 4
    end
    object pnlScript: TPanel
      Left = 0
      Top = 0
      Width = 798
      Height = 145
      Align = alTop
      Anchors = [akLeft, akTop, akRight, akBottom]
      BevelOuter = bvNone
      Caption = 'pnlScript'
      TabOrder = 5
      object edtSQLScript: TcxDBMemo
        Left = 344
        Top = 0
        Align = alClient
        DataBinding.DataField = 'sMR_SQL'
        Properties.ScrollBars = ssBoth
        TabOrder = 0
        Height = 145
        Width = 454
      end
      object grdRptTables: TcxGrid
        Left = 0
        Top = 0
        Width = 336
        Height = 145
        Align = alLeft
        TabOrder = 1
        object viewRptTables: TcxGridDBTableView
          Navigator.Buttons.CustomButtons = <>
          DataController.DataSource = dsDynRptTables
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <>
          DataController.Summary.SummaryGroups = <>
          OptionsBehavior.IncSearch = True
          OptionsData.Deleting = False
          OptionsData.DeletingConfirmation = False
          OptionsData.Inserting = False
          OptionsView.ColumnAutoWidth = True
          OptionsView.GroupByBox = False
          OptionsView.Indicator = True
          Styles.Background = MainDM.bslBackGroup
          Styles.ContentEven = MainDM.bsEven
          Styles.ContentOdd = MainDM.bsOdd
          Styles.Header = MainDM.bsTitle
          Styles.Selection = MainDM.bsSelect
          object cxGridDBColumn3: TcxGridDBColumn
            Caption = #34920#21517
            DataBinding.FieldName = 'TableName'
            HeaderAlignmentHorz = taCenter
            Width = 60
          end
          object cxGridDBColumn4: TcxGridDBColumn
            Caption = #25968#25454#28304
            DataBinding.FieldName = 'TableCaption'
            HeaderAlignmentHorz = taCenter
            Width = 100
          end
          object viewRptTablesColumn1: TcxGridDBColumn
            Caption = #36830#25509#26041#24335
            DataBinding.FieldName = 'JoinType'
            HeaderAlignmentHorz = taCenter
            Width = 60
          end
          object viewRptTablesColumn2: TcxGridDBColumn
            Caption = #36830#25509#23383#27573
            DataBinding.FieldName = 'JoinField'
            HeaderAlignmentHorz = taCenter
            Width = 60
          end
          object viewRptTablesColumn3: TcxGridDBColumn
            Caption = #36830#25509#34920
            DataBinding.FieldName = 'JoinTable'
            HeaderAlignmentHorz = taCenter
            Width = 60
          end
          object viewRptTablesColumn4: TcxGridDBColumn
            Caption = #36830#25509#34920#23383#27573
            DataBinding.FieldName = 'JoinTableField'
            HeaderAlignmentHorz = taCenter
            Width = 60
          end
        end
        object lvlRptTables: TcxGridLevel
          GridView = viewRptTables
        end
      end
      object sptScript: TcxSplitter
        Left = 336
        Top = 0
        Width = 8
        Height = 145
        HotZoneClassName = 'TcxSimpleStyle'
        Control = grdRptTables
      end
    end
  end
  inherited pnlMain: TPanel
    Left = 346
    Width = 452
    Height = 225
    ExplicitLeft = 346
    ExplicitWidth = 452
    ExplicitHeight = 225
    inherited MainDataGrid: TcxGrid
      Width = 452
      Height = 196
      ExplicitWidth = 452
      ExplicitHeight = 196
      inherited MainDataGridDBTableView: TcxGridDBTableView
        OptionsData.Appending = True
        OptionsData.Editing = True
        OptionsView.ColumnAutoWidth = True
        OptionsView.Footer = False
        object colDT_Order: TcxGridDBColumn
          Caption = #24207#21495
          DataBinding.FieldName = 'DT_BillReportOrder'
          HeaderAlignmentHorz = taCenter
          Width = 30
        end
        object colDT_FieldName: TcxGridDBColumn
          Caption = #23383#27573
          DataBinding.FieldName = 'DT_FieldName'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 100
        end
        object colDT_FieldCaption: TcxGridDBColumn
          Caption = #23383#27573#21517#31216
          DataBinding.FieldName = 'DT_FieldCaption'
          HeaderAlignmentHorz = taCenter
          Width = 120
        end
        object colDT_ISShow: TcxGridDBColumn
          Caption = #26174#31034
          DataBinding.FieldName = 'DT_ISShow'
          HeaderAlignmentHorz = taCenter
          Width = 30
        end
        object colDT_FindShow: TcxGridDBColumn
          Caption = #26597#35810#20851#38190#23383
          DataBinding.FieldName = 'DT_FindShow'
          HeaderAlignmentHorz = taCenter
          Width = 40
        end
        object colDT_ColWidth: TcxGridDBColumn
          Caption = #21015#23485
          DataBinding.FieldName = 'DT_ColWidth'
          HeaderAlignmentHorz = taCenter
          Width = 50
        end
      end
    end
    object RzToolbar1: TRzToolbar
      Left = 0
      Top = 196
      Width = 452
      Height = 29
      Align = alBottom
      Images = ImageList1
      ButtonWidth = 60
      ButtonHeight = 22
      ShowButtonCaptions = True
      TextOptions = ttoCustom
      BorderInner = fsNone
      BorderOuter = fsGroove
      BorderSides = [sdBottom]
      BorderWidth = 0
      Color = 16772829
      TabOrder = 1
      ToolbarControls = (
        btnNew
        btnEdit
        btnDelete)
      object btnNew: TRzToolButton
        Left = 4
        Top = 3
        Width = 75
        Height = 22
        ImageIndex = 6
        Images = ImageList1
        UseToolbarButtonSize = False
        Caption = #28155#21152'(&N)'
        OnClick = btnNewClick
      end
      object btnEdit: TRzToolButton
        Left = 79
        Top = 3
        Width = 75
        Height = 22
        ImageIndex = 7
        UseToolbarButtonSize = False
        Caption = #20462#25913'(&E)'
        OnClick = btnEditClick
      end
      object btnDelete: TRzToolButton
        Left = 154
        Top = 3
        Width = 75
        Height = 22
        ImageIndex = 8
        Images = ImageList1
        UseToolbarButtonSize = False
        Caption = #21024#38500'(&D)'
        OnClick = btnDeleteClick
      end
    end
  end
  inherited MainDataSource: TDataSource
    Left = 861
    Top = 73
  end
  inherited ImageList1: TImageList
    Left = 19
    Top = 271
  end
  inherited ActionList1: TActionList
    Left = 17
    Top = 219
  end
  inherited PopupMenu1: TPopupMenu
    Top = 274
  end
  inherited qyTmpDataSet: TUniQuery
    Left = 522
    Top = 258
  end
  inherited MainDataSetU: TUniQuery
    SQL.Strings = (
      'select * from ts_dynamiceditformdtl')
    Left = 808
    Top = 48
  end
  object qyTmp: TUniQuery
    Connection = MainDM.UniConn
    Left = 577
    Top = 242
  end
  object dsTable: TDataSource
    DataSet = qryTable
    Left = 170
    Top = 54
  end
  object qryTable: TUniQuery
    Connection = MainDM.UniConn
    SQL.Strings = (
      'select * from ts_dynamiceditformmst '
      '  where et_layoutid=-1 and et_formtype<3 order by et_editformid')
    AfterScroll = qryTableAfterScroll
    Left = 112
    Top = 32
  end
  object qryField: TUniQuery
    Connection = MainDM.UniConn
    SQL.Strings = (
      'select * from ts_dynamiceditformdtl '
      '     where dt_editformid=:dt_editformid'
      '       and dt_layoutid=-1 and dt_index>0'
      '     order by dt_fieldtype,dt_order')
    Options.SetFieldsReadOnly = False
    Options.RequiredFields = False
    Options.QueryRecCount = True
    AfterOpen = qryFieldAfterOpen
    Left = 116
    Top = 184
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'dt_editformid'
        Value = nil
      end>
  end
  object dsField: TDataSource
    DataSet = qryField
    Left = 166
    Top = 190
  end
  object qryDynRptTables: TUniQuery
    Connection = MainDM.UniConn
    SQL.Strings = (
      'select * from ts_dynamicreporttab')
    CachedUpdates = True
    AfterPost = qryDynRptTablesAfterPost
    Left = 34
    Top = 416
  end
  object dsDynRptTables: TDataSource
    DataSet = qryDynRptTables
    Left = 98
    Top = 392
  end
end
